package com.itheima.service;

import com.itheima.pojo.Question;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: liangWeiQUQ
 * @Description: TODO
 * @DateTime: 2021/3/28 11:37
 **/
@Service
public interface QuestionService {

    Question add(Question question);

    List<Question> findByAnswer(String title);
}
